package com.tcd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableTransactionManagement //事务开启
@MapperScan("com.tcd.mapper")
    public class PermissionApplication2001 {
    public static void main(String[] args) {
        SpringApplication.run(PermissionApplication2001.class, args);
    }
}
